package cn.touna.jss.modules.third.caridentify.entity;


import cn.touna.risk.api.contraints.Mobile;
import cn.touna.risk.api.contraints.facet.First;
import cn.touna.risk.api.contraints.facet.Four;
import cn.touna.risk.api.contraints.facet.Second;
import cn.touna.risk.api.contraints.facet.Three;
import cn.touna.risk.api.domain.BaseDomain;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 车鉴定接口参数对象
 * Created by 吴柏平 on 2017/8/2.
 */
public class CarIdentifyEntity extends BaseDomain {
    @NotBlank(message = "订单号非法!", groups = {First.class})
    private String orderNo;
    @NotBlank(message = "车架号非法!", groups = {First.class, Second.class})
    private String vin;

    private String licensePlate;

    private String engine;
    @Mobile(message = "手机号非法!", groups = {Four.class})
    private String mobile;
    @NotBlank(message = "订单Id非法!", groups = {Three.class})
    private String orderId;

    @Mobile(message = "图片地址非法!", groups = {Four.class})
    private String imgUrl;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

}
